﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DcsGauges.Gui.Gauges.Panels;
using DcsGauges.DataStructures;

namespace DcsGauges.Gui.Views.Concrete
{
    internal class CautionView : View
    {
        #region Fields & Properties

        protected CautionPanel              cautionPanel                = null;
        public CautionPanel                 CuationPanel
        {
            get { return this.cautionPanel; }
        }

        #endregion


        #region Constructors

        public CautionView()
        {
            this.cautionPanel               = new CautionPanel(this, URect.Full);
        }

        #endregion


        #region Overrides

        public override void Render(Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch, Microsoft.Xna.Framework.Graphics.GraphicsDevice device, Microsoft.Xna.Framework.Rectangle parentRect, float globalZIndex)
        {
            this.CuationPanel.Render(spriteBatch, device, parentRect, globalZIndex);
        }

        #endregion
    }
}
